<template>
  <div class="app-container">
    <Layout>
      <template #left>
        <div class="aside">
          <SiteAside />
        </div>
      </template>
      <template >
        <router-view/>
        <!-- 主区域 -->
      </template>
    </Layout>
    <ToTop/>
  </div>
</template>

<script>
import SiteAside from './components/SiteAside';
import Layout from './components/Layout';
import ToTop from '@/components/ToTop';
export default {
  components:{
    SiteAside,
    Layout,
    ToTop,
  }
};
</script>

<style scoped lang="less">
@import '~@/styles/maxin.less';
.app-container{
  .self-fill(fixed);
  .aside{
    width: 300px;
    height: 100%;
    background-color: #333;
  }
}
</style>